
      <td>
        <?php echo $debitMemo->getDebitDate()?>
      </td>
      <td>
        <?php 
          $link_id = 'debitMemo_link_'.$debitMemo->getDebitIden();
          echo 
            link_to(
              $debitMemo->getDebitId(),
              'debitMemo/edit?debit_iden='.$debitMemo->getDebitIden(),
              array('id'=>$link_id,)
            );
        ?>
         <script language="javascript">
          $(document).ready(
            function(){
              $('#<?php echo $link_id?>').click(
                function(e){
                  $.get(
                    this.href,
                    {},
                    function(content){
                      $('#debitMemoPanel').show().html(content);
                      $('#debitMemoSearchGrid').hide();
                      $('#debitMemoShowGrid').show();
                    }
                  );
                  e.preventDefault();
                }
              );
            }
          );
        </script>        
      </td>
      <td>
        <?php echo $debitMemo->getInvoiceId()?>
      </td>
      <td>
        <?php echo $debitMemo->getListName()?>
      </td>
      <td style="text-align:right;">
        <?php echo number_format($debitMemo->getAmount(),2)?>
      </td>
      <td style="text-align:center;">
        <?php echo $debitMemo->getDocument()->getVoid()?>
      </td>
      <td>
      </td>